﻿using B.S.BaseData.ErrorCode;
using B.S.DataBase.EFCoreServiers.Dtos;
using B.S.DataBase.EFCoreServiers.Dtos.MeetingApprovals;
using B.S.DataBase.EFCoreServiers.Dtos.MeetingReservations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.EFCoreServiers.IServices.Meetings
{
    public interface IMeetingApprovalServices
    {
        /// <summary>
        /// 获取审批列表
        /// </summary>
        /// <param name="queryDto"></param>
        /// <returns></returns>
        Task<ApiResult<ApiPaging<GetMeetingApprovalResponseDto>>> GetMeetingApprovalListAsync(GetMeetingApprovalDto queryDto);
        /// <summary>
        /// 审批
        /// </summary>
        /// <param name="processDto"></param>
        /// <returns></returns>
        Task<ApiResult> ApprovalProcess(MeetingApprovalProcessDto processDto);
        /// <summary>
        /// 重新提交申请  已驳回的可以重新提交 
        /// </summary>
        /// <param name="MeetingReservationId">会议预约id</param>
        /// <returns></returns>
        Task<ApiResult> ApprovalResubmit(int MeetingReservationId);
    }
}
